#include <avr/io.h>
#include "board_init.h"

// Inizializza i registri utilizzati per la configurazione della scheda.

void BrdRegisterInit(void){


//***************************** 
//          PORT A
//*****************************
DDRA=0xFF;
PORTA=0x00;

//*****************************
//          PORT B
//*****************************
DDRB=0xF7;
PORTB=0xC0;

//*****************************
//          PORT C
//*****************************
DDRC=0x3F;
PORTC=0xE0;

//*****************************
//          PORT D
//*****************************
DDRD=0xFF;
PORTD=~0x00;

//*****************************
//          PORT E
//*****************************
DDRE=0xCA;
PORTE=0x04;

//*****************************
//          PORT F
//*****************************
DDRF=0xCA;
PORTF=0x1D;

//*****************************
//          PORT G
//*****************************
DDRG=0x1F;
PORTG=0x04;




  
}
